package cn.iocoder.yudao.module.fm.controller.admin.subgrade.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

/**
 * 桥梁 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class SubgradeBaseVO {

    @Schema(description = "里程", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "里程不能为空")
    private String mileage;

    @Schema(description = "填料", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "填料不能为空")
    private String packing;

    @Schema(description = "基底岩性", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "基底岩性不能为空")
    private String basementLithology;

    @Schema(description = "长度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "长度不能为空")
    private String length;

    @Schema(description = "宽度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "宽度不能为空")
    private String width;

    @Schema(description = "填筑时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "填筑时间不能为空")
    private String timeOfFilling;

    @Schema(description = "特征", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "特征不能为空")
    private String features;

    @Schema(description = "病害", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "病害不能为空")
    private String diseaseAndDisease;

    @Schema(description = "路基班组长", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "路基班组长不能为空")
    private String teamLeaderOfSubgradeClass;

    @Schema(description = "副经理", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "副经理不能为空")
    private String deputyManager;

    @Schema(description = "技术员", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "技术员不能为空")
    private String technician;

    @Schema(description = "测量班长", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "测量班长不能为空")
    private String monitorOfSurvey;

    @Schema(description = "监理工程师", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "监理工程师不能为空")
    private String engineerOfSupervision;

}
